package com.xingfudazi.app.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xingfudazi.common.annotation.Excel;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 委托关系对象 app_entrust
 * 
 * @author ruoyi
 * @date 2024-06-21
 */
@Data
public class AppEntrust
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 所属用户id */
    @Excel(name = "所属用户id")
    private Long nid;

    /** 客户id */
    @Excel(name = "客户id")
    private Long clientId;

    /** 委托人名字 */
    @Excel(name = "委托人名字")
    private String customName;



    /** 删除标志 */
    @TableField(fill = FieldFill.INSERT,value = "del_flag")
    private String delFlag;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT,value = "create_time")
    private LocalDateTime createTime;

}
